package com.manong.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {
    private int pageNum = 1;
    private int pageSize = 5;

    public int getStart() {
        return (pageNum - 1) * pageSize;
    }
}
